﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Nivdal.Sponsors
{
    public partial class SponsorBuyCredits1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (Session["SponsorId"].ToString() == "0" )
            {
                Response.Redirect("~/Sponsors/Default.aspx");
            }
            this.custom.Value = Session["SponsorId"].ToString();

        }

        protected void LogoutButton_Click(object sender, EventArgs e)
        {
            Nivdal.Old_App_Code.Sponser.SponsorLogout();
            Response.Redirect("~/Sponsors/Default.aspx");

        }
    }
}